#region Summary

// 
// Owner : JackieHan 
// 
// Solution : Skomart.Spider 
// 
// Project : Jackie.Utility.Test
// 
// File : TestComplexConversionWithB.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : Summary
// 
// History : 
//			2010-10-12 15:28:47	    Create 
// 

#endregion

#region Using

using System;
using System.Collections.Generic;
using Jackie.Utility.BvConversion;
using Jackie.Utility.Test.TestConversion.TestClass;
using NUnit.Framework;

#endregion

namespace Jackie.Utility.Test.TestConversion
{
    /// <summary> 
    /// Summary
    /// </summary>
    [TestFixture]
    public class TestComplexConversionWithB
    {
        private ObjectConvertor<BB, VB> bvConvertor;

        [SetUp]
        public void SetUp()
        {
            bvConvertor = new ObjectConvertor<BB, VB>();
        }

        [Test]
        public void TestComplexConversion()
        {
            var bb = new BB
                         {
                             A = "aaa",
                             B = "bb",
                             Bba = new BBA
                                       {
                                           C = "ccc",
                                           D = 123
                                       }
                         };
            var vb = bvConvertor.ObjectOfBusinessToView(bb);
        }
    }
}